//
//  KNConfig.h
//  KNBaseModule
//
//  Created by vbn on 2019/1/22.
//  Copyright © 2019 pori. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface KNConfig : NSObject

+ (instancetype)configWithPath:(NSString *)filePath;

+ (instancetype)configWithName:(NSString *)fileName; // default is *.json

+ (instancetype)configWithName:(NSString *)fileName type:(NSString *)type;

- (id)valueForKeyPath:(NSString *)keyPath;

- (id)valueForKey:(NSString *)key;


@end

NS_ASSUME_NONNULL_END
